package com.xrtn.mapper;

import com.xrtn.bean.TUserTreatmentRel;

import java.math.BigDecimal;
import java.util.List;

public interface TUserTreatmentRelMapper {
    int deleteByPrimaryKey(Integer relId);

    int deleteByTreatmentId(Integer treatmentId);

    int insert(TUserTreatmentRel record);

    int insertSelective(TUserTreatmentRel record);

    TUserTreatmentRel selectTreatmentFrontInfo(Integer treatmentId);

    TUserTreatmentRel selectByTreatmentId(Integer treatmentId);

    BigDecimal selectTreatmentMonth(Integer doctorId);

    List<BigDecimal> selectTreatmentRatioList(Integer treatmentId);

    TUserTreatmentRel selectByPrimaryKey(Integer relId);

    int updateByPrimaryKeySelective(TUserTreatmentRel record);

    int updateByPrimaryKey(TUserTreatmentRel record);
}